package com.atguigu.common.exception;

public class GulimallRunTimeException extends RuntimeException {
    int code;
    public GulimallRunTimeException(int code , String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
